#include <thread>
#include "Sequence.cpp"
#include "Queue.cpp"

//
// Created by bxw57 on 2024/6/13.
//
class Test{
public:
    void static test_Sequence(){
        Base<int>* sq = new Sq<int>(5);
        sq->run();
    }

    void static test_Queue(){
        Base<int>* que = new Queue<int>(5);
        que->run();
    }
};



struct func
{
    int& i;
    func(int& i_):i(i_){}
    void operator()() {
        for (int j = 0; j < 100; ++j) {
            do_something(i);
        }
    }
};


int main() {
    Test().test_Queue();


    return 0;
}